package com.cari.oa.util;

public class RoleActionTreeNode {

	private String id;
	private String pId;
	private String enName;
	private String text;
	
	private boolean isExpand = false;
	private boolean isParent = false;
	private boolean isChecked = false;
	
	public RoleActionTreeNode() {};
	
	public RoleActionTreeNode(String id, String pId, String enName,
			String text, boolean isExpand, boolean isParent, boolean isChecked) {
		super();
		this.id = id;
		this.pId = pId;
		this.enName = enName;
		this.text = text;
		this.isExpand = isExpand;
		this.isParent = isParent;
		this.isChecked = isChecked;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getpId() {
		return pId;
	}
	public void setpId(String pId) {
		this.pId = pId;
	}
	public String getEnName() {
		return enName;
	}
	public void setEnName(String enName) {
		this.enName = enName;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isExpand() {
		return isExpand;
	}
	public boolean getIsExpand() {
		return isExpand;
	}
	public void setExpand(boolean isExpand) {
		this.isExpand = isExpand;
	}
	public boolean isParent() {
		return isParent;
	}
	public boolean getIsParent() {
		return isParent;
	}	
	public void setParent(boolean isParent) {
		this.isParent = isParent;
	}
	public boolean isChecked() {
		return isChecked;
	}
	public boolean getIsChecked() {
		return isChecked;
	}
	public void setChecked(boolean isChecked) {
		this.isChecked = isChecked;
	}
}
